//网络结果数据

class ResultData {
  late String msg;
  late dynamic status;
  late dynamic data;

  ResultData({
    required this.msg,
    required this.status,
    required this.data,
  });

  ResultData.fromJson(Map<String, dynamic> json) {
    msg = json["message"] ?? "";
    status = json["code"] ?? "";
    data = json["data"] ?? {};
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['msg'] = msg;
    data['status'] = status;
    data['data'] = data;
    return data;
  }

  @override
  String toString() {
    return "msg:$msg status:$status data:$data ";
  }
}
